@function rem($num) {
	@return ($num/40) * 1rem;
}
//圆角
@mixin radius($width) {
	-webkit-border-radius: $width;
	border-radius: $width;
}
//背景渐变
@mixin linear($color1,$color2,$color2) {
	background: -webkit-linear-gradient($color1,$color2,$color2);
	background: linear-gradient($color1,$color2,$color2);
}
//背景渐变
@mixin bg($img, $sizeX:100%, $sizeY:100%, $posX:0, $posY:0) {
	background: url($img) no-repeat;
	background-size: $sizeX $sizeY;
	background-position: $posX $posY;
}

$c0: #000;
$c3: #333;
$c6: #666;
$c9: #999;
$border: #ddd;
$r8: #f84f38;
$btn1: #198ced;
